﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ProviderManageGuide.aspx.cs"
    Inherits="GreatB2C.Web.Manage.Shop.ProviderManageGuide" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>供应商管理向导</title>
    <link href="../../../App_Themes/AdminDefaultTheme/Guide.css" type="text/css" rel="stylesheet" />
    <link href="../../../App_Themes/AdminDefaultTheme/index.css" type="text/css" rel="stylesheet" />
    <link href="../../../App_Themes/AdminDefaultTheme/MasterPage.css" type="text/css"
        rel="stylesheet" />
    <link href="../../../App_Themes/AdminDefaultTheme/xtree.css" type="text/css" rel="stylesheet" />

    <script type="text/javascript" src="../../../Resource/Script/jquery-1.4.2.min.js"></script>

    <script type="text/javascript">
        function JumpToMainRight(url) { parent.frames["main_right"].location = url; }
        function JumpToMainLeft(url) { parent.frames["left"].location = url; }
        function ReloadMainRight() { parent.frames["main_right"].location.reload(); }
        function Switch(obj) {
            obj.className = (obj.className == "guideexpand") ? "guidecollapse" : "guideexpand";
            var nextDiv;
            if (obj.nextSibling) {
                if (obj.nextSibling.nodeName == "DIV") {
                    nextDiv = obj.nextSibling;
                }
                else {
                    if (obj.nextSibling.nextSibling) {
                        if (obj.nextSibling.nextSibling.nodeName == "DIV") {
                            nextDiv = obj.nextSibling.nextSibling;
                        }
                    }
                }
                if (nextDiv) {
                    nextDiv.style.display = (nextDiv.style.display != "") ? "" : "none";
                }
            }
        }
        function keylock(evt) {
            if ((evt.keyCode == 13) && (this.OpenMainRight)) {
                this.OpenMainRight();
            }
        }
        String.prototype.trim = function() {
            // 用正则表达式将前后空格
            // 用空字符串替代。
            return this.replace(/(^\s*)|(\s*$)/g, "");
        }
        function isDate(str) {
            if (!str.match(/^\d{4}\-\d\d?\-\d\d?$/)) { return false; }
            var ar = str.replace(/\-0/g, "-").split("-");
            ar = new Array(parseInt(ar[0]), parseInt(ar[1]) - 1, parseInt(ar[2]));
            var d = new Date(ar[0], ar[1], ar[2]);
            return d.getFullYear() == ar[0] && d.getMonth() == ar[1] && d.getDate() == ar[2];
        }
    </script>

    <style type="text/css">
        .skin1
        {
            cursor: default;
            font: menutext;
            position: absolute;
            text-align: left;
            font-family: Arial, Helvetica, sans-serif;
            font-size: 10pt;
            width: 120px;
            background-color: #cccccc;
            border: 1 solid buttonface;
            visibility: hidden;
            border: 2 outset buttonhighlight;
        }
        .menuitems
        {
            padding-left: 15px;
            padding-right: 10px;
        }
    </style>
</head>
<body id="Guidebody" onkeydown="keylock(event)">
    <form id="form1" runat="server">
    <div id="Guide_back">
        <ul>
            <li id="Guide_top">
                <div id="Guide_toptext">
                    供应商管理
                </div>
            </li>
            <li id="Guide_main">
                <div id="Guide_box">
                    <div class="guideexpand" onclick="Switch(this)">
                        常规操作</div>
                    <div class="guide">
                        <ul>
                            <li><a href="ProviderManage.aspx" target="main_right">全部供应商</a></li>
                            <li><a href="Provider.aspx?Action=Add" target="main_right">添加供应商</a></li>
                        </ul>
                    </div>
                </div>
            </li>
            <li id="Guide_bottom"></li>
        </ul>
    </div>
    </form>
</body>
</html>
